package com.moyun.finance.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 产品合同中间表
 */
@Entity
@Data
public class ProductContractMid {
    @Id
    private String id;

    private String contractId;//合同id

    private String productId;//产品id

    private String productName;//产品名称

    private double unitPrice;//单价

    private int count;//数量

    private String unit;//单位

    private double total;//总价

    private double tax;//税率

    private double discount;//折扣

    private String remark;//备注
}
